<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
		<meta http-equiv="Cache-Control" content="no-cache/no-store" />
<!--[if lt IE 9]>
<script type="text/javascript" src="lib/html5shiv.js"></script>
<script type="text/javascript" src="lib/respond.min.js"></script>
<![endif]-->
<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css" />
<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin" />
<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css" />
<!--[if IE 6]>
<script type="text/javascript" src="lib/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>
<![endif]-->
<title>用户角色管理</title>
<style>
  .marginDiv{
     margin-top:20px;
  }
   .clearfix {    *zoom:1;}.clearfix:after {    display:block;    content:"clear";    height:0;    clear:both;    overflow:hidden;    visibility:hidden;} 
	 
  
/*   h4,#haveTable tr td,#noHaveTable tr td{ */
/*     text-align:center; */
/*   } */
</style>
</head>
<body>
<!--面包屑导航-->
<!-- 		<nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span>工序产能监控<span class="c-gray en">&gt;</span> 产能查看 -->
<!-- 			<a class="btn btn-primary radius r" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新"><i class="Hui-iconfont">&#xe68f;</i>刷新</a> -->
<!-- 		</nav> -->
        
        <!--主内容-->
		<div class="page-container">
		<div>
		    <div class="col-md-2">
		        <input type="text" placeholder="请输入手机号或中文名" class="input-text" id="nameOrPhone"> 
		     </div>
		        <button class="btn" id="querryUser">查询</button>
		        <button class="btn" id="querryAllUser">查询所有人员</button>
		</div>
		<div class="marginDiv"></div>
	     <div class="querryRoleDiv col-md-6">
	     
	         <table class="table table-border table-bordered table-bg table-hover">
	            <thead>
	                 <tr>
			            <th>姓名</th>
			            <th>手机号</th>
			            <th>操作</th>
	                 </tr>
	            </thead>
	            <tbody id="allRoleTbody">
	              
	            </tbody>
	         </table>
	     </div>
	     
<!-- 	     人员角色模态框 -->
	     <div class="modal fade" id="setUserRoleModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
			<div class="modal-dialog">
				<div class="modal-content">
					<div class="modal-header">
						<button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
						<h4 class="modal-title" id="">设置用户</h4>
					</div>
					<div class="modal-body clearfix">
						<div class=" haveAndNoHanv">
				          <div style="text-align:center">
				<!--                 	<button id="setCheck" class="btn">设置</button> -->
				           </div>
						     <div class="col-md-6" >
				<!-- 		          <div style="text-align:center"> -->
						          <div>
					                 	<button id="removePermissionBtn" class="btn setBtn">移除角色</button>
						           </div>
						         <h4>人员已有角色</h4>
						          <table id="haveTable">
						          
						          </table>
						     </div>
						     <div class="col-md-6 ">
				<!-- 		          <div style="text-align:center"> -->
						          <div>
					         	       <button id="addPermissionBtn" class="btn setBtn">添加角色</button>
						          </div>
						         <h4>人员未有角色</h4>
						         <table id="noHaveTable">
						            
						         </table>
						     </div>
					     </div>
					</div>
					<div class="modal-footer clearfix">
<!-- 						<button type="button" class="btn btn-default" data-dismiss="modal">关闭</button> -->
<!-- 						<button type="button" class="btn btn-primary">提交更改</button> -->
					</div>
				</div>
			</div>
		</div>
	</div>

<!--_footer 作为公共模版分离出去-->
<script type="text/javascript" src="https://upload.shinehao.com.cn/20180810145355jquery.min1.9.1.js"></script> 
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="https://upload.shinehao.com.cn/20180810150731H-ui.min3.0.2.js"></script> 
<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.js"></script>
<!--/_footer 作为公共模版分离出去-->

<!--请在下方写此页面业务相关的脚本-->
<script type="text/javascript" src="lib/My97DatePicker/4.8/WdatePicker.js"></script> 
<script type="text/javascript" src="https://upload.shinehao.com.cn/20180813175723jquery.dataTables1.10.0.js"></script> 
<script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript" src="myJs/util.js"></script>
<script type="text/javascript" src="myJs/userAndRole.js"></script>

</body>
</html>